package com.ssm.service;

import com.github.pagehelper.PageInfo;
import com.ssm.pojo.Employee;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * Author  zxy
 * Date  2022/11/24 下午 4:14
 */
public interface EmployeeService {

    /*
     * 查询所有员工信息
     * */
    List<Employee> getAllEmployee();

    /*
     * 查询所有员工分页信息
     * */
    PageInfo<Employee> getAllEmployeePage(Integer pageNum);

    Employee getEmployeeById(Integer empId);

    void updateEmployee(Employee employee);

    void deleteEmployeeById(Integer empId);

    void addEmployee(Employee employee);
}
